﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataLayer.Interfaces
{
    public interface IDataModel
    {
        T GetById<T>(int id);
        IList<T> GetAll<T>() where T : class;
    }
}
